package com.ydy.common.model;

public class UserFriend {

    private Integer id;
    private String userCode;
    private String friendCode;
    private Integer isFriend;
    private String mappingCode;

    public UserFriend() {
    }

    public UserFriend(String userCode, String friendCode, Integer isFriend) {
        this.userCode = userCode;
        this.friendCode = friendCode;
        this.isFriend = isFriend;
    }

    public UserFriend(String userCode, String friendCode, Integer isFriend, String mappingCode) {
        this.userCode = userCode;
        this.friendCode = friendCode;
        this.isFriend = isFriend;
        this.mappingCode = mappingCode;
    }

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getUserCode() {
        return userCode;
    }

    public void setUserCode(String userCode) {
        this.userCode = userCode;
    }

    public String getFriendCode() {
        return friendCode;
    }

    public void setFriendCode(String friendCode) {
        this.friendCode = friendCode;
    }

    public Integer getIsFriend() {
        return isFriend;
    }

    public void setIsFriend(Integer isFriend) {
        this.isFriend = isFriend;
    }

    public String getMappingCode() {
        return mappingCode;
    }

    public void setMappingCode(String mappingCode) {
        this.mappingCode = mappingCode;
    }

    @Override
    public String toString() {
        return "UserFriend{" +
                "id=" + id +
                ", userCode='" + userCode + '\'' +
                ", friendCode='" + friendCode + '\'' +
                ", isFriend=" + isFriend +
                ", mappingCode='" + mappingCode + '\'' +
                '}';
    }
}
